home *** CD-ROM | disk | FTP | other *** search
/ Precision Software Appli…tions Silver Collection 1 / Precision Software Applications Silver Collection Volume One (PSM) (1993).iso / tutor / dosguide.exe / HELPDOS.ZIP / ECHO.HLP < prev    next >
Text File  |  1985-09-03  |  894b  |  26 lines

  1. --------------------  ECHO - Internal Batch Subcommand  -----------------------
  2.  
  3. ECHO allows or inhibits the display of each command as it is executed from a
  4.    batch file.
  5.  
  6. FORMAT:   ECHO [ON | OFF | message]
  7.  
  8. REMARKS:
  9.  
  10.    ON      - turns on the display of batch commands.
  11.    OFF     - turns off the display of batch commands.
  12.    message - displays "message" regardless of the current ON/OFF state.
  13.  
  14.    By default, ECHO is set to ON when DOS is started.  ECHO with no parameters
  15.    displays the current ECHO state, ON or OFF.  ECHO OFF does not suppress
  16.    messages produced from an executing command.
  17.  
  18. EXAMPLE:
  19.  
  20. In the sample batch file below, ECHO OFF turns off the display of batch lines.
  21. The two lines after ECHO OFF will not be displayed when they are processed.
  22.  
  23.           ECHO OFF
  24.           REM  This batch file prints a directory listing
  25.           DIR > PRN
  26.